package com.github.pig.admin.service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.service.IService;
import com.github.pig.admin.model.dto.ChannelSourceTree;
import com.github.pig.admin.model.dto.DeptTree;
import com.github.pig.admin.model.entity.ChannelSource;
import com.github.pig.admin.model.entity.SysDept;

import java.util.List;

public interface ChannelSourceService extends IService<ChannelSource> {

    /**
     * 查询渠道来源树
     * @param channelSourceEntityWrapper
     * @return 树
     */
    List<ChannelSourceTree> selectListTree(EntityWrapper<ChannelSource> channelSourceEntityWrapper);

    List<Integer> getPathById(Integer id);

}
